<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve"
        xmlns:xen="http://xendri.ru/">
    <xsl:include href='##all_subpage.xsl#'/>
    <xsl:include href='##boxes.xsl#'/>
    <xsl:output method="html" indent="yes" encoding="UTF-8" />
    <xsl:template match='content'>
        <xsl:apply-templates select='/' mode='index'/>
        <tr id='content'>
            <td id='nov-form'>
                <form method='POST' action='/add-novelty/icons.html' enctype="multipart/form-data">
                <input type="hidden" name="MAX_FILE_SIZE" value="500000" />
                <h4>Изображение к новости:</h4>
                <input type='file' name='image'/>
                <input type='submit' value='Далее >>'/>
                </form>
            </td>
        </tr>
    </xsl:template>
    <xsl:template match='folder' mode='folder-select'>
        <xsl:if test='./@id != 2'>
        <option><xsl:attribute name='value'><xsl:value-of select="./@id"/></xsl:attribute>
            <xsl:value-of select='./name'/>
        </option>
        </xsl:if>
    </xsl:template>
</xsl:stylesheet>